import request  from '@/utils/request';

import { BASE_URL, OPS_URL, OWNER_URL } from '@/config/query';



//详细查单位
export async function queryDetail() {
  return request(`${OWNER_URL}/owner/system/fire/push`)
}

//电话短信推送人员消控室列表
export async function queryPage(params = { pageSize: 10, pageNum: 1 }) {
  return request(`${OWNER_URL}/owner/push/message/user_list`, params)
}

//修改整家
export async function modifDetail(params) {
  return request(`${OWNER_URL}/owner/modify/new`, params)
}

//修改人员电话短信通知规则
export async function modifPeople(params) {
  return request(`${OPS_URL}/user/value_rule/modify`, params)
}
//修改消控室电话短信通知规则
export async function modifRoom(params) {
  return request(`${BASE_URL}/fire_room/value_rule/modify`, params)
}
